home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 May: Tool Chest / Dev.CD May 97 TC.toast / Sample Code / Snippets / OS Utilities / DeskPat / main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-11  |  1.0 KB  |  40 lines  |  [TEXT/CWIE]

  1. /*
  2.     main.h
  3.     
  4.     Getting Desktop and Utilities Pattern  snippet
  5.     Albert Hui -- MacDTS
  6.     
  7.     This snippet how you can  access the "Desktop Pattern" and 
  8.     the "Set Utilities Pattern" pattern.(This pattern is set by holding down \
  9.     the option key in the Desktop Patterns Control Panel.)
  10.     
  11.     This control panel uses resources of type 'ppat' to store 
  12.     this pattern. The `ppat' resource is stored in the System file
  13.     in your System Folder; the desktop pattern has an ID of 16 and 
  14.     the utilities pattern has an ID of 42. Since this is not
  15.     documented, it could be subject to change at any moment. 
  16.     You should be careful when using this.
  17.  
  18.     This sample is built with CW 9. 
  19.  
  20. */
  21. #include <AppleEvents.h>
  22. #include <Dialogs.h>
  23. #include <Events.h>
  24. #include <Files.h>
  25. #include <Fonts.h>
  26. #include <GestaltEqu.h>
  27. #include <Memory.h>
  28. #include <Menus.h>
  29. #include <OSUtils.h>
  30. #include <Palettes.h>
  31. #include <QDOffscreen.h>
  32. #include <QuickDraw.h>
  33. #include <Sound.h>
  34. #include <StandardFile.h>
  35. #include <Traps.h>
  36. #include <Windows.h>
  37. #include <ToolUtils.h>
  38.  
  39.  
  40.